import java.io.IOException;


public class Main{
	private GUI g;
	private ReadingDataFromCSV dataReader;
	private correlationCalc calc;
	private predictionAlgorithmCorrelation pred;
	private Regression reg;
	public Main() throws IOException{
		
	
				dataReader=new ReadingDataFromCSV();
				pred = new predictionAlgorithmCorrelation(dataReader);
				
				
				try {
					dataReader.writingStockData();
					pred.process();
					calc = new correlationCalc(dataReader);
					reg = new Regression(dataReader);
					
				} catch (IOException e) {
					e.printStackTrace();
				}
				//g=new GUI(dataReader);
	

	}
	
	public static void main(String[]s) throws IOException{
		new Main();
	}
}